package com.yearner.reviewplan.manage.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 角色权限中间表
 *
 * @author pengyg
 * @email ${email}
 * @date 2020-02-14 17:55:24
 */
@Getter
@Setter
@Accessors(chain=true)
@ToString
@RequiredArgsConstructor
@TableName("x_role_perm")
public class XRolePerm implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 角色ID
	 */
	private Integer roleId;
	/**
	 * 权限ID
	 */
	private Integer permId;

}
